<!doctype html>
<html class="os_win7"><!--os_winXp,os_mac,os_vista,os_win7-->
<head>
	<meta charset="utf-8" />
	<title>QAMS</title>
	<link href="css/project.css" rel="stylesheet" media="screen" />
</head>
<body>
	<div class="body">
		<div id="qam_notify_area" class="sys_notify_pane pane_w" style="display:none"><div class="sys_notify_pane_inner"></div></div>
			<!-- 管理项目 开始 -->
			<div class="mod_setting">
				<div class="hd">
					<h2><i class="ico ico_manage"></i>系统设置</h2>
				</div>
				<div class="bd setting_block">
						<h3 class="setting_title"><a name="a"></a>全局设置</h3>
						<div class="form_project_add">
												<div class="panel">
													<span class="panel_tit">系统名称</span>
													<div class="panel_main">
														<input type="text" class="inputstyle" id="system_name" />
													</div>
												</div>
												<div class="panel">
													<span class="panel_tit">系统地址</span>
													<div class="panel_main">
														<input type="text" class="inputstyle"  id="system_url" />
													</div>
												</div>
												<div class="panel">
													<span class="panel_tit">后台地址</span>
													<div class="panel_main">
														<input type="text" class="inputstyle"  id="system_server_url" />
													</div>
												</div>
											</div>
				</div>
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="b"></a>SVN相关</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">SVN路径</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="svn_path" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">SVN根路径</span>
							<div class="panel_main">
								<input type="text" class="inputstyle  input_svn" id="svn_url" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">SVN用户名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle"  id="svn_username" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">SVN密码</span>
							<div class="panel_main">
								<input type="password" class="inputstyle" id="svn_password"/>
							</div>
						</div>
						<div class="panel">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<a href="javascript:void(0)" onclick="setting.svnTest()">SVN测试</a><span class="svn_status" id="svn_status"></span>
						</div>
					</div>
				</div>
				
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="c"></a>代码段关键字</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">布局关键字</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="prefix_layout" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">容器关键字</span>
							<div class="panel_main">
								<input type="text" class="inputstyle"  id="prefix_container" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">模块关键字</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="prefix_module"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">组件关键字</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="prefix_component"/>
							</div>
						</div>
					</div>
				</div>
				
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="d"></a>配置页 关键字</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">页面标识符前棳</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="page_ident_prefix" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">代码类型字符串</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="code_type_field" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">代码ID字符串</span>
							<div class="panel_main">
								<input type="text" class="inputstyle"  id="code_id_field" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">系统样式标记</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="system_css_field"/>
								<div class="panel_explain">
									<span>该标记前存放系统样式，标记后存放代码片段原有样式</span>
								</div>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">用户微调样式标记</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="user_css_field"/>
								<div class="panel_explain">
									<span>该标记后存放用户微调样式标记</span>
								</div>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">用户手写样式标记</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="user_custom_field"/>
								<div class="panel_explain">
									<span>该标记后存放用户手写样式标记</span>
								</div>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">过滤字段</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="filter_field"/>
								<div class="panel_explain">
									<span>生成页面时，需要过滤的字段，用分号隔开</span>
								</div>
							</div>
						</div>
					</div>
				</div>
				
				
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="e"></a>代码样式配置</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">class 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_classname_class" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">link 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_link" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">visible 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle"  id="print_visible_class" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">var 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_var_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">loop 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_loop_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">图片路径 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_img_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 选择器 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_selector_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 属性 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_property_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 值 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_value_class"/>
							</div>
						</div>
					</div>
				</div>
				
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="f"></a>代码回调配置</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">html 回调 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_html_event_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">html 回调(未配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_html_event_click"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">html 回调(已配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_html_event_clicked"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 回调 样式名</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_event_class"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 回调(未配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_event_click"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">css 回调(已配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_css_event_clicked"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">图片 回调(未配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_img_event_click"/>
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">图片 回调(已配置)</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="print_img_event_clicked"/>
							</div>
						</div>
					</div>
				</div>
				
				<div class="bd setting_block">
					<h3 class="setting_title"><a name="g"></a>其它</h3>
					<div class="form_project_add">
						<div class="panel">
							<span class="panel_tit">权限类别</span>
							<div class="panel_main">
								<input type="text" class="inputstyle input_svn" id="power_sort" />
							</div>
						</div>
						<div class="panel">
							<span class="panel_tit">页面模板</span>
							<div class="panel_main">
								<input type="text" class="inputstyle" id="public_templet_name" />
								<div class="input_file_area">
									<input type="file" id="file" size="10" multiple="true" onchange="select_templet(this.files)" class="file_input" />
									<a href="javascript:void(0)" class="file_href" onchange="select_templet(this.files)">选择上传</a>
								</div>
								<a href="javascript:void(0)" onclick="setting.read('templet')">查看模板</a>
								<input type="hidden" value="" id="public_templet" />
							</div>
						</div>
					</div>
				</div>
				
				
				<div class="ft">
					<div class="btns">
						<a href="javascript:void(0)" class="btn btn_ok" id="btn_ok" ><span>保存</span></a> <a href="javascript:history.go(0)">取消</a>
					</div>
				</div>
				<!-- 跳转菜单 开始 -->
				<div class="mod_jump_menu">
					<ul>
						<li><a href="#a" title="跳转到...">全局设置</a></li>
						<li><a href="#b" title="跳转到...">SVN相关</a></li>
						<li><a href="#c" title="跳转到...">代码段关键字</a></li>
						<li><a href="#d" title="跳转到...">配置页 关键字</a></li>
						<li><a href="#e" title="跳转到...">代码样式配置</a></li>
						<li><a href="#f" title="跳转到...">代码回调配置</a></li>
						<li><a href="#g" title="跳转到...">其它</a></li>
						<li class="li_save"><a style="color:#6C99C0" href="javascript:void(0)"  id="btn_ok2" >保存</a></li>
					</ul>
				</div>  
				<!-- 跳转菜单 结束 -->
			</div>
			<!-- 管理项目 结束 -->
	</div>



<div id="message_div"></div>

<script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="js/public.js" type="text/javascript"></script>
<script src="js/functions.js" type="text/javascript"></script>
<script src="js/setting.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
		setting.init();
        setting.getinfo();
    });
</script>

</body>
</html>
